package com.yanfan.szy206;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class Szy206InfoDTO {
    private String content;
    private String startStr;
    private String dataType;
    private String stationAddr;
    private String deviceId;
    private String functionCode;
    private String crcCode;
    private String endStr;
    private boolean isHeartbeat;
    private String dataTime;

    public void setStationAddr(String stationAddr) {

        this.stationAddr = stationAddr;
    }

    public String getStationAddr() {
        return stationAddr;
    }

    public void setDeviceId(String deviceId) {


        this.deviceId = deviceId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setFunctionCode(String functionCode) {

        this.functionCode = functionCode;
    }

    public String getFunctionCode() {
        return functionCode;
    }

    public void setCrcCode(String crcCode) {
        this.crcCode = crcCode;
    }

    public String getCrcCode() {
        return crcCode;
    }

    public void setEndStr(String endStr) {
        this.endStr = endStr;
    }

    public String getEndStr() {
        return endStr;
    }

    public void setIsHeartbeat(boolean isHeartbeat) {
        this.isHeartbeat = isHeartbeat;
    }

    public boolean isHeartbeat() {
        return isHeartbeat;
    }

    public void setDataTime(String dataTime) {
        this.dataTime = dataTime;
    }

    public String getDataTime() {
        return dataTime;
    }
}
